package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.DTO.LegalAidLawyerDTO;
import com.ruoyi.system.domain.vo.LegalAidLawyerVO;


/**
 * 律师信息Service接口
 * 
 * @author ruoyi
 * @date 2023-08-09
 */
public interface ILegalAidLawyerService 
{
    /**
     * 查询律师信息
     * 
     * @param id 律师信息主键
     * @return 律师信息
     */
    public LegalAidLawyerVO selectLegalAidLawyerById(Long id);

    /**
     * 查询律师信息列表
     *
     * @param legalAidLawyerDTO 律师信息
     * @return 律师信息集合
     */
    public List<LegalAidLawyerVO> selectLegalAidLawyerList(LegalAidLawyerDTO legalAidLawyerDTO);

    /**
     * 新增律师信息
     *
     * @param legalAidLawyerDTO 律师信息
     * @return 结果
     */
    public void insertLegalAidLawyer(LegalAidLawyerDTO legalAidLawyerDTO);

    /**
     * 修改律师信息
     *
     * @param legalAidLawyerVO 律师信息
     * @return 结果
     */
    public void updateLegalAidLawyer(LegalAidLawyerVO legalAidLawyerVO);

    /**
     * 批量删除律师信息
     *
     * @param ids 需要删除的律师信息主键集合
     * @return 结果
     */
    public int deleteLegalAidLawyerByIds(Long[] ids);

    /**
     * 删除律师信息信息
     *
     * @param id 律师信息主键
     * @return 结果
     */
    public int deleteLegalAidLawyerById(Long id);

    /**
     * 根据id查询律师信息和用户公共信息
     * @param id
     * @return
     */
    LegalAidLawyerVO selectLawyerWithUserById(Long id);

    /**
     * 修改律师信息和用户公共信息
     * @param legalAidLawyerDTO
     */
    void updateWithUser(LegalAidLawyerDTO legalAidLawyerDTO);

    /**
     * 根据id批量删除
     * @param ids
     */
    void deleteLegalAidLawyerWithUserByIds(Long[] ids);
}
